]> dgit.raspbian.org Git - gnome-shell.git/commit
tools: Add rules override for code snippets in docs
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 10 Jun 2025 09:00:52 +0000 (11:00 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 30 Jul 2025 14:27:19 +0000 (14:27 +0000)
commit6aaf63b7b722acca49e1ac2b97aedc784613c025
tree2d7052b6ffab3874b5d23ada6f8ab7e9cb84f67d
parentd341e4b67ae6413448cc6bf0c185a4c7d473087c
tools: Add rules override for code snippets in docs

The snippets don't have context, so any rules that catch undefined
or unused stuff don't apply.

We currently disable those rules via command-line parameters. Including
it in the config instead will allow to re-use the run-eslint.sh wrapper.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3746>
tools/eslint.config.js